

clear 
use "justnormasylum"
rename hasnormalschool hasnormal
keep hasnormal cty_fips 
tempfile normal
save `normal'

clear
clear matrix
clear mata
set maxvar 15000


clear
use county_outcomes_dta

gen cty_fips=state*1000+county
rename state statefips
rename county countychetty
merge 1:m cty_fips using `normal', keep(3)





gen outcome=.
gen outcome0=.


	foreach percentile in 1 25 50 75 100{
		foreach race in  black{
			
			replace outcome= somecoll_`race'_pooled_p`percentile' - coll_`race'_pooled_p`percentile'
			
			reghdfe outcome 1.hasnormal, absorb(statefips) cluster(statefips) nocon
			
			
}
}
